package com.bootdo.crm.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.crm.dao.BusinessChangeDao;
import com.bootdo.crm.domain.BusinessChangeDO;
import com.bootdo.crm.service.BusinessChangeService;



@Service
public class BusinessChangeServiceImpl implements BusinessChangeService {
	@Autowired
	private BusinessChangeDao businessChangeDao;
	
	@Override
	public BusinessChangeDO get(Integer changeId){
		return businessChangeDao.get(changeId);
	}
	
	@Override
	public List<BusinessChangeDO> list(Map<String, Object> map){
		return businessChangeDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return businessChangeDao.count(map);
	}
	
	@Override
	public int save(BusinessChangeDO businessChange){
		return businessChangeDao.save(businessChange);
	}
	
	@Override
	public int update(BusinessChangeDO businessChange){
		return businessChangeDao.update(businessChange);
	}
	
	@Override
	public int remove(Integer changeId){
		return businessChangeDao.remove(changeId);
	}
	
	@Override
	public int batchRemove(Integer[] changeIds){
		return businessChangeDao.batchRemove(changeIds);
	}
	
}
